#include "nonlinearfilterdialog.h"
#include "ui_nonlinearfilterdialog.h"

NonLinearFilterDialog::NonLinearFilterDialog(QWidget *parent, MainApp *_app) : QDialog(parent), ui(new Ui::NonLinearFilterDialog)
{
    ui->setupUi(this);
    m_MainApp = _app;
}

NonLinearFilterDialog::~NonLinearFilterDialog()
{
    delete ui;
}

void NonLinearFilterDialog::on_pushButton_clicked()
{
    m_MainApp->DoNonLinearFilter(ui->lineEdit->text().toInt());
}
